@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}
@font-face {
  font-family: D-DIN-PRO-500-Medium;
  src: url('../assets/font/D-DIN-PRO-500-Medium.ttf');
}
@font-face {
  font-family: D-DIN-PRO-600-SemiBold;
  src: url('../assets/font/D-DIN-PRO-600-SemiBold.ttf');
}
@font-face {
  font-family: D-DIN-PRO-800-ExtraBold;
  src: url('../assets/font/D-DIN-PRO-800-ExtraBold.ttf');
}

.el-tooltip__popper.depFilterTooptip {
  border: 0;
  background: #fcfcfc;
  box-shadow: 0px 0px 26px 0px rgba(178, 181, 203, 0.5);
  border-radius: 8px;
}
.el-tooltip__popper.filterTooltipsContainer {
  background: #fcfcfc;
  box-shadow: 0px 0px 26px 0px rgba(178, 181, 203, 0.5);
  border-radius: 8px;
  border: 0;
  .jobFilterList {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 24px;
    .jobFilterItem {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 30px;
      background: #e3e9f3;
      border-radius: 4px;
      padding: 4px 8px;
      .jobFilterItemLabel {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 56px;
        height: 20px;
        font-family: PingFangSC, PingFang SC;
        font-weight: 400;
        font-size: 14px;
        color: #555555;
        line-height: 20px;
        text-align: left;
        font-style: normal;
      }
      &.active {
        background: #cadfff;
        .jobFilterItemLabel {
          color: #0b6eff;
        }
      }
    }
  }
}
.el-popper.filterPopoverContainer{
  .popoverJobFilterList {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 24px;
    .popoverJobFilterItem {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 30px;
      background: #e3e9f3;
      border-radius: 4px;
      padding: 4px 8px;
      .popoverJobFilterItemLabel {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 56px;
        height: 20px;
        font-family: PingFangSC, PingFang SC;
        font-weight: 400;
        font-size: 14px;
        color: #555555;
        line-height: 20px;
        text-align: left;
        font-style: normal;
        cursor: pointer;
      }
      &.active {
        background: #cadfff;
        .popoverJobFilterItemLabel {
          color: #0b6eff;
        }
      }
    }
  }
}
.el-tooltip__popper.careerToolsItemPopper {
  background: #fcfcfc;
  box-shadow: 0px 0px 26px 0px rgba(178, 181, 203, 0.5);
  border-radius: 8px;
  border: 0;
  p {
    text-align: center;
    color: #606266;
    font-size: 14px;
  }
  img {
    width: 200px;
    height: 200px;
  }
}
.el-select-dropdown.el-popper.JobSearchSelectPopper {
  width: 223px;
  min-width: unset !important;
}
.el-tooltip__popper[x-placement^='bottom'] .popper__arrow {
  border-bottom-color: white !important;
}
.el-tooltip__popper[x-placement^='left'] .popper__arrow {
  border-left-color: white !important;
}

.el-popper.benefitPopover {
  top: 140px !important;
}
.el-tooltip__popper.currentAnaContent {
  width: 540px !important;
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 14px;
  color: #555555;
  line-height: 22px;
}

.el-tooltip__popper.is-light {
  background: #fcfcfc;
  box-shadow: 0px 0px 26px 0px rgba(178, 181, 203, 0.5);
  border-radius: 8px;
  border: 0;
}

.el-tooltip__popper[x-placement^='top'] .popper__arrow:after,
.el-tooltip__popper[x-placement^='top'] .popper__arrow {
  border-top-color: #fcfcfc !important;
  box-shadow: 0px 0px 26px 0px rgba(178, 181, 203, 0.5);
}
